<template>
  <p>App</p>
  <A :age="18" @aaa="aaa" name="jack" />
  <B :age="18" @aaa="aaa" name="jack" />
</template>

<script>
import A from "./components/A.vue";
import B from "./components/B.vue";

export default {
  name: "App",
  components: {
    A,
    B,
  },
  methods: {
    aaa() {
      console.log(111);
    },
  },
};
</script>

<style scoped>
</style>
